package com.sky.mapper;


import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface DishFlavorMapper {

    void save(List<DishFlavor> dishFlavors);

    ArrayList<DishFlavor> getByDishId(Long id);

    void deleteByDishId(Long dishId);

    void deleteByDishIds(List<Long> ids);
}
